package cc.mrbird.febs.moive.dao;

import cc.mrbird.febs.moive.domain.DataTop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DataTopMapper  extends BaseMapper<DataTop> {

    @Select("select * from data_top order by sum_box_office desc limit 20")
    List<DataTop> getData();

    @Select("select * from data_top order by sum_box_office limit 20")
    List<DataTop> getData2();
}
